﻿using System;
using System.Data;
using System.Configuration;
using System.IO;
using System.Text;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.HtmlControls;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;

/// <summary>
/// Summary description for UserControlClientSafe
/// </summary>
namespace Dimok.Web.UI {
	public class UserControlClientSafe : UserControl {
		bool InRender = false;
		public UserControlClientSafe() { }

		protected override void Render(HtmlTextWriter writer) {
			StringBuilder sb = new StringBuilder();
			StringWriter sw = new StringWriter(sb);
			HtmlTextWriter w = new HtmlTextWriter(sw);
			base.Render(w);
			w.Flush();
			writer.Write(sb.ToString().Replace(ClientID+"_", ""));
		}
	}
}